﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
namespace MusicService
{
    [ServiceContract]
    interface ISongService
    {
        [OperationContract]
        bool addSong(string songName, string lyris);

        [OperationContract]
        bool removeSong(string songID);

        [OperationContract]
        bool updateSong(string songID, string songName, string lyris);

        [OperationContract]
        List<Song> getAllSong();

        [OperationContract]
        Song getSongByName(string songName);
    }
}
